﻿using FluorineFx.AMF3;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SettlersAuto.Data.AmfTypes
{
    public class TradeWindowResultVO
    {
        public long currentTime { get; set; }
        public object tradeOffers { get; set; }
        public object userAcceptedTradeIDs { get; set; }

        public IEnumerable<TradeObjectVO> TradeOffers
        {
            get { return tradeOffers.Collection<TradeObjectVO>(); }
        }

        public IEnumerable<object> UserAcceptedTradeIDs
        {
            get { return userAcceptedTradeIDs.Collection<object>(); }
        }
    }
}
